﻿<Phone:MvpUserControl x:Class="DemoWindowsPhoneMvp.Views.Shared.WidgetsControl"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    xmlns:Phone="clr-namespace:WindowsPhoneMvp.Phone;assembly=WindowsPhoneMvp" 
    xmlns:binder="clr-namespace:WindowsPhoneMvp.Binder.PresenterDiscoveryStrategy;assembly=WindowsPhoneMvp" mc:Ignorable="d"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    binder:Presenter.Type="DemoWindowsPhoneMvp.Logic.Views.Shared.WidgetPresenter, DemoWindowsPhoneMvp.Logic"  
    d:DesignHeight="480" d:DesignWidth="480">
    
    <Grid x:Name="LayoutRoot" Background="{StaticResource PhoneChromeBrush}">
        <StackPanel>
            <TextBlock Text="Widget User Control" />
            <TextBlock Text="{Binding Message}" />
            <TextBlock Text="And text from the Main Presenter:" />
            <TextBlock Text="{Binding SetFromMainPresenter}" />
        </StackPanel>
    </Grid>
</Phone:MvpUserControl>
